package com.ruoyi.report.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;
import java.util.List;

/**
 * 原始记录信息对象 report_orginalrecord
 * 
 * @author ruoyi
 * @date 2022-03-10
 */
@ApiModel("原始记录信息对象")
public class ReportOrginalrecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private String id;

    /** 项目编号 */
    @ApiModelProperty(value = "项目编号")
    private String itemNum;

    /** 项目类别 */
    @ApiModelProperty(value = "项目类别")
    private String itemType;

    /** 报告编号 */
    @Excel(name = "报告编号")
    @ApiModelProperty(value = "报告编号")
    private String reportNum;

    /** 设备类型 */
    @Excel(name = "设备类型")
    @ApiModelProperty(value = "设备类型")
    private String equType;

    /** 设备类型名称 */
    @Excel(name = "设备类型名称")
    @ApiModelProperty(value = "设备类型名称")
    private String equTypeName;

    /** 委托单位 */
    @Excel(name = "委托单位")
    @ApiModelProperty(value = "委托单位")
    private String client;

    /** 原始记录地址 */
    @Excel(name = "原始记录名称")
    @ApiModelProperty(value = "原始记录名称")
    private String[] originalNameArray;

    private String originalName;

    /** 原始记录地址 */
    @Excel(name = "原始记录地址")
    @ApiModelProperty(value = "原始记录地址")
    private String[] originalRecordArray;

    private String originalRecord;

    /** 上传记录时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "上传记录时间")
    @Excel(name = "上传记录时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date uploadTime;

    /** 上传人 */
    @Excel(name = "上传人")
    @ApiModelProperty(value = "上传人")
    private String uploader;

    /** 变更人 */
    @Excel(name = "变更人")
    @ApiModelProperty(value = "变更人")
    private String changer;

    /** 变更时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "变更时间")
    @Excel(name = "变更时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date changeTime;

    /** 附件图片 */
    @ApiModelProperty(value = "附件图片")
    private List<ReportOrginalimage> list;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setReportNum(String reportNum) 
    {
        this.reportNum = reportNum;
    }

    public String getReportNum() 
    {
        return reportNum;
    }
    public void setEquType(String equType) 
    {
        this.equType = equType;
    }

    public String getEquType() 
    {
        return equType;
    }
    public void setClient(String client) 
    {
        this.client = client;
    }

    public String getClient() 
    {
        return client;
    }
    public void setOriginalRecord(String originalRecord)
    {
        this.originalRecord = originalRecord;
    }

    public String getOriginalRecord()
    {
        return originalRecord;
    }

    public String getOriginalName() {
        return originalName;
    }

    public void setOriginalName(String originalName) {
        this.originalName = originalName;
    }

    public String[] getOriginalNameArray() {
        return originalNameArray;
    }

    public void setOriginalNameArray(String[] originalNameArray) {
        this.originalNameArray = originalNameArray;
    }

    public String[] getOriginalRecordArray() {
        return originalRecordArray;
    }

    public void setOriginalRecordArray(String[] originalRecordArray) {
        this.originalRecordArray = originalRecordArray;
    }

    public void setUploadTime(Date uploadTime)
    {
        this.uploadTime = uploadTime;
    }

    public Date getUploadTime() 
    {
        return uploadTime;
    }
    public void setUploader(String uploader) 
    {
        this.uploader = uploader;
    }

    public String getUploader() 
    {
        return uploader;
    }
    public void setChanger(String changer) 
    {
        this.changer = changer;
    }

    public String getChanger() 
    {
        return changer;
    }
    public void setChangeTime(Date changeTime) 
    {
        this.changeTime = changeTime;
    }

    public Date getChangeTime() 
    {
        return changeTime;
    }

    public String getEquTypeName() {
        return equTypeName;
    }

    public void setEquTypeName(String equTypeName) {
        this.equTypeName = equTypeName;
    }

    public String getItemNum() {
        return itemNum;
    }

    public void setItemNum(String itemNum) {
        this.itemNum = itemNum;
    }

    public String getItemType() {
        return itemType;
    }

    public void setItemType(String itemType) {
        this.itemType = itemType;
    }

    public List<ReportOrginalimage> getList() {
        return list;
    }

    public void setList(List<ReportOrginalimage> list) {
        this.list = list;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("reportNum", getReportNum())
            .append("equType", getEquType())
            .append("client", getClient())
            .append("originalRecord", getOriginalRecord())
            .append("uploadTime", getUploadTime())
            .append("uploader", getUploader())
            .append("changer", getChanger())
            .append("changeTime", getChangeTime())
            .toString();
    }
}
